Repository navigation
docs(id): authority-boundary audit for Phase 12 criterion 9 (#12597) - #12773
Merged
Merged
Conversation
Systematic audit of guest-reachable file/network/process surfaces against the provider registry, recorded where the Phase 12 exit audit (#12231) can cite it. Verdict: no bypass found. The guest's only outbound channel is the wants string, gated by parse, ledger decision, and dispatch; Wasm guests are import-free and native workers run under a Linux seccomp allowlist. Three non-bypass findings are recorded in the audit: F-1 speech providers registered but unexecuted, F-2 the compile gate lists platform-no-caps.roc which has no registry entry, F-3 native modules are downloadable despite the never-offered doc claim. Adds authority_boundary_tests pinning the dispatch boundary: every host request provider dispatches except the two documented speech exceptions, unregistered names fail closed, and client providers never execute on the host. Local verification: cargo test -p id-worlds --lib authority_boundary — 4 passed, 0 failed. Closes #12597
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 55 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Systematic audit of guest-reachable file/network/process surfaces against the provider registry, recorded where the Phase 12 exit audit (#12231) can cite it.
Verdict: no bypass found. The guest's only outbound channel is the
wantsstring, gated by parse, ledger decision, and dispatch; Wasm guests are import-free and native workers run under a Linux seccomp allowlist.Audit record:
pkgs/id/doc/2026-11-23T02-02-09Z_reference_authority_boundary_audit/2026-11-23T02-02-09Z_reference_authority_boundary_audit.mdThree non-bypass findings (recorded in the audit, none re-opens row 9):
speech.transcribe/speech.capture/speech.synthesizeare registered but have no executor — granted requests fail closed withunknown_cap.platform-no-caps.roc, which has no registry entry — ungrantable, so imports are always refused.Test:
authority_boundary_testsinpkgs/id/crates/id-worlds/src/world/actor.rspins the dispatch boundary — every host request provider dispatches except the two documented speech exceptions, unregistered names fail closed, client providers never execute on the host.Verification run locally:
cargo test --manifest-path pkgs/id/Cargo.toml -p id-worlds --lib authority_boundary— 4 passed, 0 failed. Reference-laptop re-run pending (fleet shell leg down this run: tailnet seat logged out, control-plane 400 on re-register).Closes #12597
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.